﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class SuperMan:Animal,IFly
    {
        public override void Eat()
        {
            Console.WriteLine("{0}会吃饭",this.Name);
        }
        public void TakeOff()
        {
            Console.WriteLine("{0}在起飞中...", this.Name);
        }
        public void Fly()
        {
            Console.WriteLine("{0}在飞...", this.Name);
        }
        public void Land()
        {
            Console.WriteLine("{0}在降落中...", this.Name);
        }
        public SuperMan() { }
        public SuperMan(string name) : base(name)
        {

        }
    }
}
